UCF STIG Viewer Logo

The vCenter PostgreSQL service must not load unused database components, software, and database objects.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259173 VCPG-80-000032 SV-259173r935423_rule Medium
Description
Information systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default, may not be necessary to support essential organizational operations (e.g., key missions, functions). It is detrimental for software products to provide, or install by default, functionality exceeding requirements or mission objectives. Database management systems (DBMS) must adhere to the principles of least functionality by providing only essential capabilities. Satisfies: SRG-APP-000141-DB-000091, SRG-APP-000141-DB-000093
STIG Date
VMware vSphere 8.0 vCenter Appliance PostgreSQL Security Technical Implementation Guide 2023-10-29

Details

Check Text ( C-62913r935421_chk )
At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "select * from pg_extension where extname != 'plpgsql'"

If any extensions are output, this is a finding.
Fix Text (F-62822r935422_fix)
At the command prompt, run the following command:

$ /opt/vmware/vpostgres/current/bin/psql -U postgres -c "DROP EXTENSION "

Note: It is recommended that plpgsql not be removed.